package com.lagou.app;

import com.lagou.dao.TransactionDao;
import com.lagou.entity.Transaction;
import org.junit.Test;

import java.sql.SQLException;

public class TestTransactionDao {

    TransactionDao transactionDao;

    @Test
    public void testupdateAccount1() throws SQLException {

        Transaction transaction = transactionDao.updateAccount1("1122334455");

        System.out.println("更新后转出账户信息：" + transaction);

    }

    @Test
    public void testupdateAccount2() throws SQLException {
        Transaction transaction = transactionDao.updateAccount2("5544332211");

        System.out.println("更新后转入账户信息为：" + transaction);
    }

}
